package cn.itsource.ymcc.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrderFormVo {
    private List<Long> courseIds;
    @Range(min = 0,max = 3,message = "支付方式错误")
    private Integer payType;
    @Range(min = 0,max = 1,message = "非法请求")
    private Integer type;
    @NotNull(message = "参数异常:token")
    private String token;
}
